<?xml version="1.0" encoding="utf-8"?>
<schema targetNamespace="http://www.opengis.net/ows/2.0"
        xmlns:ows="http://www.opengis.net/ows/2.0"
        xmlns="http://www.w3.org/2001/XMLSchema"
        elementFormDefault="qualified"
        version="2.0.1"
        xml:lang="en">
  <annotation>
    <appinfo>owsGetResourceByID.xsd 2011-10-21</appinfo>
    <documentation>This XML Schema Document encodes the GetResourceByID
    operation request message. This typical operation is specified as a base
    for profiling in specific OWS specifications. For information on the
    allowed changes and limitations in such profiling, see Subclause 9.4.1 of
    the OWS Common specification.
    
    OWS is an OGC Standard.
    Copyright (c) 2009 Open Geospatial Consortium, Inc. All Rights Reserved.
    To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
    </documentation>
  </annotation>
  <!-- ==============================================================
                includes and imports
        ============================================================== -->
  <include schemaLocation="owsDataIdentification.xsd" />
  <include schemaLocation="owsGetCapabilities.xsd" />

  <!-- ==============================================================
                elements and types
        ============================================================== -->
  <element name="Resource">
    <annotation>
      <documentation>XML encoded GetResourceByID operation response. The
      complexType used by this element shall be specified by each specific
      OWS.</documentation>
    </annotation>
  </element>
  <!-- =========================================================== -->
  <element name="GetResourceByID"
           type="ows:GetResourceByIdType"></element>
  <!-- =========================================================== -->
  <complexType name="GetResourceByIdType">
    <annotation>
      <documentation>Request to a service to perform the GetResourceByID
      operation. This operation allows a client to retrieve one or more
      identified resources, including datasets and resources that describe
      datasets or parameters. In this XML encoding, no "request" parameter is
      included, since the element name specifies the specific
      operation.</documentation>
    </annotation>
    <sequence>
      <element name="ResourceID"
               type="anyURI"
               minOccurs="0"
               maxOccurs="unbounded">
        <annotation>
          <documentation>Unordered list of zero or more resource identifiers.
          These identifiers can be listed in the Contents section of the
          service metadata (Capabilities) document. For more information on
          this parameter, see Subclause 9.4.2.1 of the OWS Common
          specification.</documentation>
        </annotation>
      </element>
      <element ref="ows:OutputFormat"
               minOccurs="0">
        <annotation>
          <documentation>Optional reference to the data format to be used for
          response to this operation request. This element shall be included
          when multiple output formats are available for the selected
          resource(s), and the client desires a format other than the
          specified default, if any.</documentation>
        </annotation>
      </element>
    </sequence>
    <attribute name="service"
               type="ows:ServiceType"
               use="required" />
    <attribute name="version"
               type="ows:VersionType"
               use="required" />
  </complexType>
  <!-- =========================================================== -->
</schema>
